<template>
  <div>
    <div>
      <h4>移动能力评定</h4>
      <el-row>
        <el-col :span="8">
          <div>
            <span>床上翻身： </span>
            <el-select v-model="pgForm.ydnl_fanshen">
              <el-option
                v-for="item in score"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
            <span> 分</span>
          </div>
        </el-col>
        <el-col :span="8">
          <div>
            <span>站位维持： </span>
            <el-select v-model="pgForm.ydnl_zhanwei">
              <el-option
                v-for="item in score"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
            <span> 分</span>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>

export default {
  name: "move_assess",
  title: "移动能力评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props:{
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        ydnl_fanshen: '',
        ydnl_zhanwei: ''
      },
      score: [{
        value: '0',
        label: '0'
      },{
        value: '1',
        label: '1'
      }, {
        value: '2',
        label: '2'
      }, {
        value: '3',
        label: '3'
      }, {
        value: '4',
        label: '4'
      },{
        value: '5',
        label: '5'
      }]
    }
  },


}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
</style>
